#ifndef __MYSQL_PKG_H__
#define __MYSQL_PKG_H__
#include "context.h"
#include <iostream>
#include "my_sql_parse.h"
#include "package_base.h"

class CMysqlPkg : public IPkg
{
public:
	CMysqlPkg();
	virtual ~CMysqlPkg();
public:
	virtual Result Parse(Context* pCtx);
	virtual Result Check(Context* pCtx);
	virtual const char* Pkg() {return NULL;}
	virtual int PkgSize() {return 0;}
private:
	void Dump(Context* pCtx);
	void ChangeStatus(Context* pCtx);

private:
	IPkg**	m_pReqPkgs;
	IPkg**	m_pRespPkgs;
	//CSqlParser* m_pSqlParser;
};

#endif
